package com.bgs.service.impl;

import com.bgs.mapper.UserLogonMapper;
import com.bgs.service.UserLogonService;
import com.bgs.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserLogonServiceImpl implements UserLogonService {
    @Autowired
    private UserLogonMapper userLogonMapper;

    @Override
    public UserVo getUserLogon(String phone, String password) {
        return userLogonMapper.getUserLogon(phone,password);
    }
}
